﻿using MediatR;
using U.B.ErrorCode;

namespace U.B.WriteApi.Command.RabbitBWss
{
    public class AddFirmCommand:IRequest<ApiResult<object>>
    {

        /// <summary>
        /// 养殖场名称
        /// </summary>
        public string Farm { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public string Stock { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Principal { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string FirmName { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Permission { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public string Start { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string Intro { get; set; }

        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; }
    }
}
